Skip to content

Conversation

@fraillt
Copy link
Contributor

@fraillt fraillt commented Dec 6, 2024

Fixes #2387

Changes

  • cloned DataPoint<T> into two separate structs: SumDataPoint<T> and GaugeDataPoint<T>
  • made start_time in GaugeDataPoint<T> optional

Merge requirement checklist

  • CONTRIBUTING guidelines followed
  • Unit tests added/updated (if applicable)
  • Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
  • Changes in public API reviewed (if applicable)

@fraillt fraillt requested a review from a team as a code owner December 6, 2024 07:48
@codecov
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

Attention: Patch coverage is 71.42857% with 46 lines in your changes missing coverage. Please review.

Project coverage is 79.3%. Comparing base (de3ea4e) to head (a73922d).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
opentelemetry-stdout/src/metrics/exporter.rs 0.0% 24 Missing ⚠️
...-sdk/src/metrics/internal/exponential_histogram.rs 0.0% 21 Missing ⚠️
opentelemetry-proto/src/transform/metrics.rs 0.0% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main   #2389     +/-   ##
=======================================
- Coverage   79.4%   79.3%   -0.1%     
=======================================
  Files        123     123             
  Lines      21485   21566     +81     
=======================================
+ Hits       17064   17108     +44     
- Misses      4421    4458     +37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@cijothomas cijothomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking changes for exporter author can be called out in the combined
changelog entry

@cijothomas cijothomas merged commit 902baa9 into open-telemetry:main Dec 9, 2024
22 of 23 checks passed
@fraillt fraillt deleted the metrics-gauge-start-time-is-optional branch December 11, 2024 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Starttime - make it Option again

2 participants